package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityExternalGoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityExternalGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityExternalGoodsExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityExternalGoodsExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityExternalGoodsExample example = new EstateProjectActivityExternalGoodsExample();
        return example.createCriteria();
    }

    public EstateProjectActivityExternalGoodsExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityExternalGoodsExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityExternalGoodsExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityExternalGoodsExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityExternalGoodsExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExternalGoodsIdIsNull() {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId is null");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId is not null");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId =", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId <>", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId >", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId >=", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdLessThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId <", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId <=", value, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId in", values, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId not in", values, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId between", value1, value2, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsId not between", value1, value2, "externalGoodsId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("estateprojectactivityexternalgoods.ProjectId is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.ProjectId is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ProjectId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ProjectId not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdIsNull() {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId =", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId <>", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId >", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId >=", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdLessThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId <", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId <=", value, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ExternalGoodsCategoryId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId in", values, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId not in", values, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId between", value1, value2, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andExternalGoodsCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.ExternalGoodsCategoryId not between", value1, value2, "externalGoodsCategoryId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("estateprojectactivityexternalgoods.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSubNameIsNull() {
            addCriterion("estateprojectactivityexternalgoods.SubName is null");
            return (Criteria) this;
        }

        public Criteria andSubNameIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.SubName is not null");
            return (Criteria) this;
        }

        public Criteria andSubNameEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName =", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName <>", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName >", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName >=", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName <", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName <=", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.SubName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubNameLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName like", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.SubName not like", value, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.SubName in", values, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.SubName not in", values, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.SubName between", value1, value2, "subName");
            return (Criteria) this;
        }

        public Criteria andSubNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.SubName not between", value1, value2, "subName");
            return (Criteria) this;
        }

        public Criteria andCounterPriceIsNull() {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice is null");
            return (Criteria) this;
        }

        public Criteria andCounterPriceIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice is not null");
            return (Criteria) this;
        }

        public Criteria andCounterPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice =", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice <>", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice >", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice >=", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice <", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice <=", value, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CounterPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCounterPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice in", values, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice not in", values, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice between", value1, value2, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andCounterPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivityexternalgoods.CounterPrice not between", value1, value2, "counterPrice");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivityexternalgoods.Price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Price <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivityexternalgoods.Price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivityexternalgoods.Price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivityexternalgoods.Price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivityexternalgoods.Price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andImageIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Image is null");
            return (Criteria) this;
        }

        public Criteria andImageIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Image is not null");
            return (Criteria) this;
        }

        public Criteria andImageEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image =", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image <>", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image >", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image >=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image <", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image <=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Image <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImageLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Image not like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Image in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Image not in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Image between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Image not between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImagesIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Images is null");
            return (Criteria) this;
        }

        public Criteria andImagesIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Images is not null");
            return (Criteria) this;
        }

        public Criteria andImagesEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images =", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images <>", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images >", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images >=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images <", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images <=", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Images <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andImagesLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Images not like", value, "images");
            return (Criteria) this;
        }

        public Criteria andImagesIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Images in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Images not in", values, "images");
            return (Criteria) this;
        }

        public Criteria andImagesBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Images between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andImagesNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Images not between", value1, value2, "images");
            return (Criteria) this;
        }

        public Criteria andLinkIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Link is null");
            return (Criteria) this;
        }

        public Criteria andLinkIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Link is not null");
            return (Criteria) this;
        }

        public Criteria andLinkEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link =", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link <>", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link >", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link >=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link <", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link <=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Link <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLinkLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.Link not like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Link in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.Link not in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Link between", value1, value2, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.Link not between", value1, value2, "link");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIsNull() {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe is null");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe =", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe <>", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe >", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe >=", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe <", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe <=", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.FreightDescribe <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFreightDescribeLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe like", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe not like", value, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe in", values, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe not in", values, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe between", value1, value2, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andFreightDescribeNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.FreightDescribe not between", value1, value2, "freightDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIsNull() {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe is null");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe =", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe <>", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe >", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe >=", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe <", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe <=", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.ServiceDescribe <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceDescribeLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe like", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe not like", value, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe in", values, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe not in", values, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe between", value1, value2, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andServiceDescribeNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.ServiceDescribe not between", value1, value2, "serviceDescribe");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivityexternalgoods.Weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Weight <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.Weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Integer> values) {
            addCriterion("estateprojectactivityexternalgoods.Weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.Weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivityexternalgoods.Weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNull() {
            addCriterion("estateprojectactivityexternalgoods.`Online` is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.`Online` is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` =", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` <>", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThan(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` >", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` >=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThan(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` <", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.`Online` <=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`Online` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineIn(List<Boolean> values) {
            addCriterion("estateprojectactivityexternalgoods.`Online` in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivityexternalgoods.`Online` not in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityexternalgoods.`Online` between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityexternalgoods.`Online` not between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivityexternalgoods.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivityexternalgoods.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivityexternalgoods.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivityexternalgoods.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityexternalgoods.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivityexternalgoods.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivityexternalgoods.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityexternalgoods.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivityexternalgoods.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityExternalGoods.Column column) {
            addCriterion(new StringBuilder("estateprojectactivityexternalgoods.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivityexternalgoods.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityExternalGoodsExample example;

        protected Criteria(EstateProjectActivityExternalGoodsExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityExternalGoodsExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityExternalGoods.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityExternalGoods.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityExternalGoodsExample example);
    }
}